1. /* scfasinh.cpp by K.Tsuru */
  2. // function ID = 9119 since ver 2.18
  3. /*****************************************
  4. SComplex class
  5. It returns arsinh(z).
  6. Casinh(z) = Clog{z + Csqrt(z^2 + 1)}.
  7. = (1/i)arcsin(iz)
  8. (Gradshteyn and Ryzhik 2000, p. xxx)
  9. ver 2.21
  10. *****************************************/
  11. #ifndef SN_H
  12. #include "sn.h"
  13. #endif
  14. #if 0
  15. SComplex Casinh(const SComplex& z) {
  16. SComplex y = Csqrt(z * z + 1.0);
  17. return Clog(z + y);
  18. }
  19. #else /********************************/
  20. SComplex Casinh(const SComplex& z) {
  21. return MI*Casin(IU*z); // (1/i)arcsin(iz)
  22. }
  23. #endif

scfasinh.cpp : last modifiled at 2015/10/23 15:45:36(592 bytes)
created at 2017/10/06 15:21:28
The creation time of this html file is 2017/10/06 15:27:08 (Fri Oct 06 15:27:08 2017).